package com.kayt.cyberBar.cyber.business.entity.po;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the c_public_unit_map database table.
 * 
 */
@Entity
@Table(name="b_cyber_base_unit_map")
@NamedQuery(name="BCyberBaseUnitMap.findAll", query="SELECT b FROM BCyberBaseUnitMap b")
public class BCyberBaseUnitMap implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long id;
	private String code;
	private String createTime;
	private String elementCount;
	private String elementUnitCountCode;
	private String itemCode;
	private String itemName;
	private String parentUnitCountCode;
	private String parentCount;
	private String statusCode;
	private String updateTime;

	public BCyberBaseUnitMap() {
	}


	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}


	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}


	@Column(name="CREATE_TIME")
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}


	@Column(name="ELEMENT_COUNT")
	public String getElementCount() {
		return this.elementCount;
	}

	public void setElementCount(String elementCount) {
		this.elementCount = elementCount;
	}


	@Column(name="ELEMENT_UNIT_COUNT_CODE")
	public String getElementUnitCountCode() {
		return this.elementUnitCountCode;
	}

	public void setElementUnitCountCode(String elementUnitCountCode) {
		this.elementUnitCountCode = elementUnitCountCode;
	}


	@Column(name="ITEM_CODE")
	public String getItemCode() {
		return this.itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}
	
	

	@Column(name="ITEM_NAME")
	public String getItemName() {
		return itemName;
	}


	public void setItemName(String itemName) {
		this.itemName = itemName;
	}


	@Column(name="PARENT_UNIT_COUNT_CODE")
	public String getParentUnitCountCode() {
		return this.parentUnitCountCode;
	}

	public void setParentUnitCountCode(String parentUnitCountCode) {
		this.parentUnitCountCode = parentUnitCountCode;
	}


	@Column(name="PARENT_COUNT")
	public String getParentCount() {
		return this.parentCount;
	}

	public void setParentCount(String parentCount) {
		this.parentCount = parentCount;
	}


	@Column(name="STATUS_CODE")
	public String getStatusCode() {
		return this.statusCode;
	}

	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}


	@Column(name="UPDATE_TIME")
	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

}